<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.lynn.salary.util.ToolMethod"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<style>
	.leftCss56345{
	width: 140px;
}

.rightCss454545 {
	width: 140px;
}
</style>
<br/>
<br/>
<form action="<%=basePath %>empSalaryItem!salaryStandard.do" method="post" class="pageForm required-validate" onsubmit="return validateCallback(this);">

	<input type="hidden" value="<s:property value="flag"/>" name="standardId">
	<s:optiontransferselect label="工资制度定义" labelposition="top" 
							list="standardItem" name="newItem"
							listKey="itemId"
							listValue="name"
							doubleList="allItem"
							doubleName="notHave2"
							allowSelectAll="true"
							doubleListKey="id"
							doubleListValue="name"
							leftTitle="已选取" 
							rightTitle="待选取"
							cssClass="leftCss56345"
							doubleCssClass="rightCss454545"
							addToLeftLabel="向左" addToRightLabel="向右"
							selectAllLabel="所有"
							addAllToLeftLabel="全部向左" addAllToRightLabel="全部向右"
							/>
						
	<input type="submit" value="保存" onclick="selectAllOptions(document.getElementById('newItem'));selectAllOptions(document.getElementById('notHave2'));return true;"/>
</form>						